package com.lock.immersive.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lock.immersive.pojo.domain.Orders;
import com.lock.immersive.pojo.dto.OrderDetail;
import com.lock.immersive.pojo.vo.WxPayment;
import com.lock.immersive.utils.ResponseApi;

import javax.servlet.http.HttpServletRequest;

/**
* @author zhao
* @description 针对表【orders】的数据库操作Service
* @createDate 2023-07-02 00:04:03
*/
public interface OrdersService extends IService<Orders> {

    ResponseApi<WxPayment> wxUnifiedOrder(OrderDetail detail, HttpServletRequest request) throws Exception;

    ResponseApi<Object> queryWxOrder(String outTradeNo, HttpServletRequest request);
}
